//
//  RCActivityDetailDataModel.h
//  RocketProject
//
//  Created by Wu Chengwei on 13-9-28.
//  Copyright (c) 2013年 Rocket. All rights reserved.
//

#import "IDataModel.h"

typedef enum{
    
    ActivityDetalTypePicture,
    ActivityDetalTypeShopInfo,
    ActivityDetalTypeActivityDetail,
    ActivityDetalTypeNotice
    
}ActivityDetalType;

@interface RCActivityDetailPicture : IDataModel

@property(nonatomic,copy)NSString *discountID;
@property(nonatomic,assign) NSInteger activityOriginPrice;
@property(nonatomic,assign) NSInteger activityPresentPrice;
@property(nonatomic,assign) NSInteger activitySignUp;
@property(nonatomic,copy) NSString *title;
@property(nonatomic,copy) NSString *content;
@property(nonatomic,copy) NSString *endTime;
@property(nonatomic,assign)ActivityDetalType type;
@property(nonatomic,retain)NSArray *pictureArray;

@end

@interface RCActivityDetailShopInfo : IDataModel

@property(nonatomic,copy) NSString *shopID;
@property(nonatomic,copy) NSString *shopName;
@property(nonatomic,assign) ActivityDetalType type;
@property(nonatomic,assign) NSInteger score;
@property(nonatomic,copy) NSString *address;
@property(nonatomic,copy) NSString *telePhone;
@property(nonatomic,assign) BOOL favourited;
@property(nonatomic,copy) NSString *lat;
@property(nonatomic,copy) NSString *lon;

@end

@interface RCActivityDetailContentDetail : IDataModel

@property(nonatomic,assign)ActivityDetalType type;
@property(nonatomic,copy) NSString *content;
@property(nonatomic,retain)NSArray *pictureArray;

@end

@interface RCActivityDetailNotice : IDataModel

@property(nonatomic,assign)ActivityDetalType type;
@property(nonatomic,copy) NSString *content;

@end

@interface RCActivityDetailDataModel : IDataModel

@property(nonatomic,copy) NSString *activityName;
@property(nonatomic,copy) NSString *activityPicUrl;
@property(nonatomic,copy) NSString *activityEndTime;
@property(nonatomic,copy) NSString *activityContent;
@property(nonatomic,copy) NSString *shopID;
@property(nonatomic,copy) NSString *lat;
@property(nonatomic,copy) NSString *lon;
@property(nonatomic,assign) NSInteger activityOriginPrice;
@property(nonatomic,assign) NSInteger activityPresentPrice;
@property(nonatomic,assign) NSInteger activitySignUp;
@property (nonatomic, retain) NSMutableArray *activityDetailItems;
@property (nonatomic, assign) BOOL favourited;


@property(nonatomic,retain) RCActivityDetailPicture *pictureInfo;
@property(nonatomic,retain) RCActivityDetailShopInfo *shopInfo;
@property(nonatomic,retain) RCActivityDetailContentDetail *contentDetail;
@property(nonatomic,retain) RCActivityDetailNotice *noticeInfo;
@end

